package thread.fenjiesuoyufenduansuo;

import javax.annotation.security.RunAs;

public class Test06 {

    public static  void main(String[] args){
        DecompossClazz2 decompossClazz2 = new DecompossClazz2();

        Thread thread01 = new Thread(new Runnable() {
            @Override
            public void run() {
                decompossClazz2.addComputer("a");
            }
        });
        Thread thread02 = new Thread(new Runnable() {
            @Override
            public void run() {
                decompossClazz2.addUser("b");
            }
        });

        thread01.start();
        thread02.start();
    }
}
